package com.example.policymode2;

import com.example.policymode2.strategy.EncodeStrategy;
import lombok.extern.slf4j.Slf4j;

import java.io.File;

/**
 * @author zhang
 */
@Slf4j
public class Base64Encode implements EncodeStrategy {
    @Override
    public void encryptFile(File file) {
        //省略具体细节
        log.info("Base64加密：{}", file);
    }

    @Override
    public String decryptFile(File file) {
        //省略具体细节
        log.info("Base64解密：{}", file);
        return null;
    }
}